{% extends "admin/change_form.html" %} 
{% load i18n %} 

{% block object-tools %}
{% if change %}{% if not is_popup %}
  <ul class="object-tools">
  <li><a href="generate-program/" class="viewsitelink" target="_blank">{% trans "Generate festival program" %}</a></li>
  <li><a href="../../concert/?festival__id__exact={{ object_id }}" class="viewsitelink">{% trans "Concerts on this festival" %}</a></li>
  <li><a href="history/" class="historylink">{% trans "History" %}</a></li>
  </ul>
{% endif %}{% endif %}
{% endblock %} 